<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="com.pojo.OUser,java.util.List"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
	OUser user = (OUser) request.getAttribute("list");
	List list = (List)request.getAttribute("list1");
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd 

">
<html>
<head>
 <base href="<%=basePath%>">   
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户中心</title>
     <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1.0" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <link rel="stylesheet" href="css/common.css" />
    <link rel="stylesheet" type="text/css" href="css/index.css?v=1.2.1"/>
    <link rel="stylesheet" type="text/css" href="lib/css/layer.css"/>
    <script src="lib/js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
    <script src="lib/js/jquery.base64.js" type="text/javascript" charset="utf-8"></script>
    <script src="lib/js/layer.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    	getgoodnum();
	});
    
    function getgoodnum(){
    	var list = <%=list.get(0) %>;
    	var list1 = <%=list.get(1) %>;
    	var html=0;
    	$('#ganlansum').html(list1);
    	$('#baoshisum').html(list);
    }
    </script>
</head>
<body>
<!--页面头部-->
<div class="my_header">
    <div class="my_headertop">
 
     </div>
    <div class="my_headercenter">
        <p class="account_type"></p>
        <p>会员编号</p>
        <p class="num"><span id="balance_num"><%=user.getNickName() %></span><span id="balance_dec" class="num_deci"><%=user.getUserID() %></span>
        <span id="balance_dec" class="num_deci" ><a href="appout.html">退出</a></span></p>
        <br> <a href="change.html">
                <span>修改密码</span>
            </a>
    </div>
    <div class="my_headerbottom">
        <div class="left">
            <p>消费币&nbsp;&nbsp;(元)</p>
            <p class="num"><span id="waitNum_num"></span><span id="waitNum_dec" class="num_deci"><%=user.getConsumezh() %></span></p>
        </div>
    
		 <div class="left">
            <p>积分&nbsp;&nbsp;(元)</p>
            <p class="num"><span id="returnIn_num"></span><span id="returnIn_dec" class="num_deci"><%=user.getEncash() %></span></p>
        </div>
        <div class="right">
            <p>帕帕拉宝石存量(颗)</p>
            <p class="num"><span id="returnIn_num"></span><span id="ganlansum" class="num_deci"></span></p>
        </div>
        <div class="right">
            <p>宝石存量(颗)</p>
            <p class="num"><span id="returnIn_num"></span><span id="baoshisum" class="num_deci"></span></p>
        </div>
    </div>
</div>
<!--页面主体内容部分-->
<div class="my_content">
    <div class="my_content_top">
        <img class="ct_bg" src="img/ct_bg.png" alt="" />
        <div class="left" id="recharge_btn">
            <i class="icon_charge"></i>
            <span class="bold"><a href="appchongzhi.html">充值</a></span>
        </div>
        <div class="right withdraw_btn">
            <i class="icon_withdraw"></i>
            <span class="bold"><a href="apptixian.html">提现</a></span>
        </div>
    </div>
    <div class="my_content_bottom">
        <ul>
        	<!-- <li class="item">
                <a href="appmingxi.html">
                    <div>
								<span class="icon_wrap">
									<i class="icon icon_tzlk"></i>
								</span>
                        <span class="item_detail">库存明细</span>
                        <i class="icon icon_zhankai"></i>
                    </div>
                </a>
            </li> -->
            <li class="item">
                <a href="appguadan.html?goods=宝石">
                    <div>
								<span class="icon_wrap">
									<i class="icon icon_tzjl"></i>
								</span>
                        <span class="item_detail">商品挂单</span>
                        <i class="icon icon_zhankai"></i>
                    </div>
                </a>
            </li>
            <li class="item">
                <a href="appsellist.html">
                    <div>
								<span class="icon_wrap">
									<i class="icon_tzmx"></i>
								</span>
                        <span class="item_detail">售出记录</span>
                        <i class="icon icon_zhankai"></i>
                    </div>
                </a>
            </li>
            <li class="item">
                <a href="appbuylist.html">
                    <div>
								<span class="icon_wrap">
									<i class="icon icon_jlyh"></i>
								</span>
                        <span class="item_detail">购买记录  </span>
                        <span class="couponNum"></span>
                        <i class="icon icon_zhankai"></i>
                    </div>
                </a>
            </li>
            <li class="item" id="addBank">
                <a href="appgr_money.html" >
                    <div>
								<span class="icon_wrap">
									<i class="icon icon_card"></i>
								</span>
                        <span class="item_detail">交易明细</span>
                        <i class="icon icon_zhankai"></i>
                    </div>
                </a>
            </li>
        </ul>
    </div>

</div>
<!--	页面底部部分-->
<ul class="footer" style="background: #fff;">
    <li class="footer-item">
        <a href="appmain.html?page=1&last=5" class="">
            <i class="icon icon_index"></i>
            <p class="icon_title">首页</p>
        </a>
    </li>
    <li class="footer-item">
        <a href="apptixian.html" class="">
            <i class="icon icon_invest"></i>
            <p class="icon_title">提现</p>
        </a>
    </li>
    <li class="footer-item">
        <a href="appchongzhi.html" class="">
            <i class="icon icon_activity"></i>
            <p class="icon_title">充值</p>
        </a>
    </li>
    <li class="footer-item">
        <a href="appmember.html" class="">
            <i class="icon icon_my active"></i>
            <p class="icon_title" style="color: #f23029">个人中心</p>
        </a>
    </li>
</ul>
</body>
<script src="js/personal.js?v=1.2.1" type="text/javascript" charset="utf-8"></script>
</html>
